﻿using System;
using System.Windows.Forms;

namespace Borg
{
    [Param("Tag", typeof(string), "")]
    [SlotDefinition("Borg.Tool")]
    [Param("Name", typeof(string))]
    [Param("OrderIndex", typeof(float), 0.5f)]
    [Param("Icon", typeof(string), "")]
    public interface ITool : IDisposable
    {
        void Show();

        Form Form { get; }
        string Name { get; }
    }

    [SlotDefinition("Borg.ToolStrip")]
    public interface IToolStrip
    {
        void RemoveCreateBehavior(SlotInfo slot);
        void SetCreateBehavior(SlotInfo slot, PlugTypeHandler itemHandler);

        Control Control { get; }
    }
}

